//
//  YQAppletLoadingView.m
//  industry
//
//  Created by 王雅强 on 2021/2/3.
//  Copyright © 2021 Haier. All rights reserved.
//

#import "YQAppletLoadingView.h"

@implementation YQAppletLoadingView

- (instancetype)init
{
    self = [super init];
    if (self) {
//        self.backgroundColor = [UIColor grayColor];
//        self.titleLabel.backgroundColor = [UIColor redColor];
//        self.titleLabel.font = [UIFont boldSystemFontOfSize:8];
//        self.iconImageView.backgroundColor = [UIColor blueColor];
//        self.pageControl.backgroundColor = [UIColor orangeColor];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
//    // 调整 view 的位置
//    CGSize size  = self.bounds.size;
//    CGRect frame = CGRectMake((size.width - 80)/2, 0, 80, 80);
//    self.iconImageView.frame = frame;
//    frame = CGRectMake(15, CGRectGetMaxY(self.iconImageView.frame) + 6, size.width - 30, 22);
    self.titleLabel.text = @"小程序加载中";
//    self.titleLabel.frame = frame;
//    frame = CGRectMake((size.width-40)/2, CGRectGetMaxY(self.titleLabel.frame) + 21, 40, 20);
//    self.pageControl.frame = frame;
}

@end
